import java.util.concurrent.LinkedBlockingQueue;

public class TestBlockedQueue {
	public static void main(String[] args) {
		LinkedBlockingQueue<Integer> q = new LinkedBlockingQueue<Integer>(20);
		new Thread(new BlockingQueueEnqueuer(q)).start();
		new Thread(new BlockingQueueDequeuer(q)).start();
	}
}
